package com.ruoyi.house_sale.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 房产资料对象 HouseInfo
 *
 * @author ruoyi
 * @date 2022-03-30
 */
public class SalesGuide extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼层 */
    private int floor;

    /** 房产资料 */
    private List<Houseinfo> houseinfolist;

    public void setFloor(int floor)
    {
        this.floor = floor;
    }

    public int getFloor()
    {
        return floor;
    }
    public void setHouseinfolist(List<Houseinfo> houseinfolist)
    {
        this.houseinfolist = houseinfolist;
    }

    public List<Houseinfo> getHouseinfolist()
    {
        return houseinfolist;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("floor", getFloor())
                .append("houseInfo", getHouseinfolist())
                .toString();
    }
}
